<?php include 'generic-js.tpl.php';?>
<input type="text" id="<?php print $this->id; ?>" <?php 
if(!is_null($this->objValidate))
{
    $arrAttribute=$this->objValidate->getAttributes();
    foreach($arrAttribute as $k=>$v)
    {
        $this->attributes[$k]=$v;
    }
}
if($this->attributes)
{
    foreach($this->attributes as $k=>$v)
    {
        echo " {$k}='{$v}'"; 
    }
}
?> />